package com.chenxin.wms.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.chenxin.common.annotation.Excel;
import com.chenxin.common.core.domain.WmsBaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 产线管理对象 wms_workshop_lines
 *
 * @author loujf
 * @date 2025-06-11
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("wms_workshop_lines")
public class WorkshopEntity extends WmsBaseEntity {
    /**
     * 产线id
     */
    @TableId(type = IdType.AUTO)
    private Long lineId;

    /**
     * 产线编号
     */
    @Excel(name = "产线编号")
    private String lineNo;

    /**
     * 产线名称
     */
    @Excel(name = "产线名称")
    private String lineName;

    /**
     * 产线类型
     */
    @Excel(name = "产线类型")
    private String lineType;

    /**
     * 关联站台
     */
    @Excel(name = "关联站台")
    private String stationNo;

    /**
     * 状态（0正常 1停用）
     */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private int lineStatus;
}
